package com.zryc.shop.oms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zryc.shop.oms.entity.OrderReturnReason;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 退货原因表 服务类
 * </p>
 *
 * @author zhaozhao
 * @since 2024-01-18
 */
public interface IOrderReturnReasonService extends IService<OrderReturnReason> {

    /**
     * 分页查询列表
     *
     * @param pageNum
     * @param pageSize
     * @return
     */
    Page<OrderReturnReason> list(Integer pageNum, Integer pageSize);

    /**
     * 修改状态
     *
     * @param ids
     * @param status
     * @return
     */
    Object updateStatus(String ids, Integer status);

    /**
     * 修改退货原因
     *
     * @param id
     * @param orderReturnReason
     * @return
     */
    Object detail(Long id, OrderReturnReason orderReturnReason);
}
